#include <iostream>
using namespace std;
int main()
{
	int x;
	cin>>x;
	int y;
	y =10 * x;
	cout<<x<<" "<<y;
	return 0;
} 
